package cn.wolfcode.p2p.bussness.service;

import cn.wolfcode.p2p.base.query.QueryObjext;
import cn.wolfcode.p2p.bussness.domain.Bid;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IBidService {
    int save(Bid record);

    Bid get(Long id);

    PageInfo queryPage(QueryObjext qo);

    int update(Bid record);

    /**
     *  统一修改投标的借款状态
     * @param bidRequestId
     * @param bidrequestState
     */
    void updateState(Long bidRequestId, int bidrequestState);
}

